package org.example;

import org.example.service.AppConfig;
import org.example.service.UserService;
import org.example.spring.MyApplicationContext;

/**
 * Hello world!
 *
 */
public class App {
    public static void main(String[] args)  {
        MyApplicationContext myApplicationContext = new MyApplicationContext(AppConfig.class);
        UserService userService = (UserService) myApplicationContext.getBean("userService");
        userService.test();
        userService.test1();
    }
}
